package com.zyw.mvc.exception;

/**
 * @author zhangyw
 * @date 2017/2/9 14:34
 */
public class NoMappingException extends AbstractDefaultException {
    @Override
    public Integer getCode() {
        return 404;
    }

    public NoMappingException() {
        super("未找到对应服务");
    }

    public NoMappingException(String message) {
        super(message);
    }

    public NoMappingException(String message, Throwable cause) {
        super(message, cause);
    }

    public NoMappingException(Throwable cause) {
        super(cause);
    }

    public NoMappingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
